home *** CD-ROM | disk | FTP | other *** search
/ Shareware Grab Bag / Shareware Grab Bag.iso / 007 / cstdio.arc / INCLUDE.ARC / KBDIO.H < prev    next >
Text File  |  1985-07-22  |  4KB  |  119 lines

  1. /*    kbdio.h - keyboard I/O.
  2.     (C) Copyright 1985 Cray Research Inc. - All Rights Reserved.
  3.     G. R. Mansfield.  85/07/22.
  4.     Ver 1.0-5722.
  5. */
  6.  
  7. #define KBD_A1 302    /* Alt-1 */
  8. #define KBD_A2 303    /* Alt-2 */
  9. #define KBD_A3 304    /* Alt-3 */
  10. #define KBD_A4 305    /* Alt-4 */
  11. #define KBD_A5 306    /* Alt-5 */
  12. #define KBD_A6 307    /* Alt-6 */
  13. #define KBD_A7 308    /* Alt-7 */
  14. #define KBD_A8 309    /* Alt-8 */
  15. #define KBD_A9 310    /* Alt-9 */
  16. #define KBD_A0 311    /* Alt-0 */
  17. #define KBD_AA 330    /* Alt-A */
  18. #define KBD_AB 348    /* Alt-B */
  19. #define KBD_AC 346    /* Alt-C */
  20. #define KBD_AD 332    /* Alt-D */
  21. #define KBD_AE 318    /* Alt-E */
  22. #define KBD_AF 333    /* Alt-F */
  23. #define KBD_AG 334    /* Alt-G */
  24. #define KBD_AH 335    /* Alt-H */
  25. #define KBD_AI 323    /* Alt-I */
  26. #define KBD_AJ 336    /* Alt-J */
  27. #define KBD_AK 337    /* Alt-K */
  28. #define KBD_AL 338    /* Alt-L */
  29. #define KBD_AM 350    /* Alt-M */
  30. #define KBD_AN 349    /* Alt-N */
  31. #define KBD_AO 324    /* Alt-O */
  32. #define KBD_AP 325    /* Alt-P */
  33. #define KBD_AQ 316    /* Alt-Q */
  34. #define KBD_AR 319    /* Alt-R */
  35. #define KBD_AS 331    /* Alt-S */
  36. #define KBD_AT 320    /* Alt-T */
  37. #define KBD_AU 322    /* Alt-U */
  38. #define KBD_AV 347    /* Alt-V */
  39. #define KBD_AW 317    /* Alt-W */
  40. #define KBD_AX 345    /* Alt-X */
  41. #define KBD_AY 321    /* Alt-Y */
  42. #define KBD_AZ 344    /* Alt-Z */
  43. #define KBD_AMN 312    /* Alt-- */
  44. #define KBD_AEQ 313    /* Alt-= */
  45.  
  46. #define KBD_BS 8    /* bksp */
  47.  
  48. #define KBD_CBK 232    /* Ctrl-Break */
  49. #define KBD_CDL 225    /* Ctrl-Del */
  50. #define KBD_CDN 222    /* Ctrl-down */
  51. #define KBD_CED 221    /* Ctrl-End */
  52. #define KBD_CHM 227    /* Ctrl-Home */
  53. #define KBD_CIN 220    /* Ctrl-Ins */
  54. #define KBD_CLF 224    /* Ctrl-left */
  55. #define KBD_CPD 223    /* Ctrl-PgDn */
  56. #define KBD_CPS 231    /* Ctrl-PrtSc */
  57. #define KBD_CPU 229    /* Ctrl-PgUp */
  58. #define KBD_CRT 226    /* Ctrl-right */
  59. #define KBD_CUP 228    /* Ctrl-up */
  60.  
  61. #define KBD_DL 205    /* Del */
  62. #define KBD_DN 202    /* Cursor Down */
  63. #define KBD_ED 201    /* End */
  64. #define KBD_ES 27    /* ESC */
  65. #define KBD_ET 10    /* Enter (return) */
  66. #define KBD_F1 210    /* F1 */
  67. #define KBD_F2 211    /* F2 */
  68. #define KBD_F3 212    /* F3 */
  69. #define KBD_F4 213    /* F4 */
  70. #define KBD_F5 214    /* F5 */
  71. #define KBD_F6 215    /* F6 */
  72. #define KBD_F7 216    /* F7 */
  73. #define KBD_F8 217    /* F8 */
  74. #define KBD_F9 218    /* F9 */
  75. #define KBD_F10 219    /* F10 */
  76. #define KBD_F11 250    /* F11 (shift F1 - F10) */
  77. #define KBD_F12 251    /* F12 */
  78. #define KBD_F13 252    /* F13 */
  79. #define KBD_F14 253    /* F14 */
  80. #define KBD_F15 254    /* F15 */
  81. #define KBD_F16 255    /* F16 */
  82. #define KBD_F17 256    /* F17 */
  83. #define KBD_F18 257    /* F18 */
  84. #define KBD_F19 258    /* F19 */
  85. #define KBD_F20 259    /* F20 */
  86. #define KBD_F21 260    /* F21 (Ctrl F1 - F10) */
  87. #define KBD_F22 261    /* F22 */
  88. #define KBD_F23 262    /* F23 */
  89. #define KBD_F24 263    /* F24 */
  90. #define KBD_F25 264    /* F25 */
  91. #define KBD_F26 265    /* F26 */
  92. #define KBD_F27 266    /* F27 */
  93. #define KBD_F28 267    /* F28 */
  94. #define KBD_F29 268    /* F29 */
  95. #define KBD_F30 269    /* F30 */
  96. #define KBD_F31 270    /* F31 (Alt F1 - F10) */
  97. #define KBD_F32 271    /* F32 */
  98. #define KBD_F33 272    /* F33 */
  99. #define KBD_F34 273    /* F34 */
  100. #define KBD_F35 274    /* F35 */
  101. #define KBD_F36 275    /* F36 */
  102. #define KBD_F37 276    /* F37 */
  103. #define KBD_F38 277    /* F38 */
  104. #define KBD_F39 278    /* F39 */
  105. #define KBD_F40 279    /* F40 */
  106. #define KBD_HM 207    /* Home */
  107. #define KBD_IN 200    /* Ins */
  108. #define KBD_LF 204    /* Cursor Left */
  109. #define KBD_PD 203    /* PgDn */
  110. #define KBD_PS 230    /* PrtSc */
  111. #define KBD_PU 209    /* PgUp */
  112. #define KBD_RT 206    /* Cursor Right */
  113. #define KBD_SED 201    /* shift End */
  114. #define KBD_SHM 204    /* shift Home */
  115. #define KBD_SP 32    /* space */
  116. #define KBD_STB 208    /* shift tab (back tab) */
  117. #define KBD_TB 9    /* tab */
  118. #define KBD_UP 208    /* Cursor Up */
  119.